package com.ruoyi.merchant.util;;

/**
 * 警告类型 1：红色报警 2：黄色报警 3：绿色报警 4 SOS报警
 * @author chengxin.ju
 */

public enum AlarmModeEnum {

    /**
     * 按键报警
     */
    BUTTON_ALARM(1, "按键报警"),
    /**
     * 指标报警
     */
    INDEX_ALARM(2, "指标报警"),
    /**
     * 跌倒报警
     */
    FALL_ALARM(3, "跌倒报警"),
    /**
     * 语音报警
     */
    VOICE_ALARM(4, "语音报警"),
    /**
     * 安防报警
     */
    SECURITY_ALARM(5, "安防报警");
    private int code;
    private String message;

    public int getCode(){
        return this.code;
    }
    public String getMessage(){
        return this.message;
    }
    AlarmModeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }


}
